package com.itcast.springboot3x.thread;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * 线程池配置类
 * @author zhangtian105
 * @date 2023/5/18
 * @apiNote
 */
@Getter
@Setter
@NoArgsConstructor
@ConfigurationProperties(prefix = "monitor.threadpool")
public class ThreadPoolConfigurationProperties {
    private List<ThreadPoolProperties> executors = new ArrayList<>();
}
